package top.kaoshanji.p1ch01a;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * 代码清单-p1ch01a-19页a：编写接口
 * @author kaoshanji
 * ^_^
 * create time 2025/5/17 17:34
 */
@RestController
public class HelloController {

    @RequestMapping("/hello")
    public String helloWorld() {
        return "Hello World!";
    }

}
